﻿using Coldairarrow.Entity.Base_AutoReplys;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Base_AutoReplys
{
    public interface IBase_AutoReplyDetailBusiness
    {
        Task<PageResult<Base_AutoReplyDetail>> GetDataListAsync(PageInput<GetMMSearchDTO> input);
        Task<Base_AutoReplyDetail> GetTheDataAsync(string id);
        Task AddDataAsync(Base_AutoReplyDetail data);
        Task UpdateDataAsync(Base_AutoReplyDetail data);
        Task DeleteDataAsync(List<string> ids);
    }

    public class GetMMSearchDTO
    {
        public string MainId { get; set; }
        public string Search { get; set; }
    }
}